GtkToolbar: Set clip
authorMatthias Clasen <mclasen@redhat.com>
Sun, 10 Aug 2014 11:53:59 +0000 (07:53 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 10 Aug 2014 11:53:59 +0000 (07:53 -0400)
This allows outset box shadows to work on toolbars.

https://bugzilla.gnome.org/show_bug.cgi?id=734526

gtk/gtktoolbar.c

index 36d001acd52f59eb1b8a2c5c4b0b243f762f2afa..5ec5e5248174cd0bd35dbb8eaeaaa27a393ee1fc 100644 (file)
@@ -1834,6 +1834,8 @@ gtk_toolbar_size_allocate (GtkWidget     *widget,
 
   g_free (allocations);
   g_free (new_states);
+
+  _gtk_widget_set_simple_clip (widget);
 }
 
 static void